{
 "cells": [
  {
   "cell_type": "code",
   "execution_count": 1,
   "metadata": {},
   "outputs": [],
   "source": [
    "from requests_html import HTMLSession"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 2,
   "metadata": {},
   "outputs": [],
   "source": [
    "session = HTMLSession()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 3,
   "metadata": {},
   "outputs": [],
   "source": [
    "url = \"http://www.spbeen.com/p/e6ef5e8b-3a88-4925-a3e9-029c22c05fd6\""
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 4,
   "metadata": {},
   "outputs": [],
   "source": [
    "response = session.get(url)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 5,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "<Response [200]>"
      ]
     },
     "execution_count": 5,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "response"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 6,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "requests_html.HTMLResponse"
      ]
     },
     "execution_count": 6,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "type(response)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 7,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "200"
      ]
     },
     "execution_count": 7,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "response.status_code"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 8,
   "metadata": {
    "collapsed": true
   },
   "outputs": [
    {
     "data": {
      "text/plain": [
       "'<!DOCTYPE html>\\n\\n<html lang=\"en\">\\n\\n\\t<head>\\n\\t\\t<meta charset=\"UTF-8\">\\n\\n\\t\\t<meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\\n\\t\\t<meta name=\"keywords\" content=\"Python, Python资讯, Python基础教程, Python学习笔记, Python电子书, Python视频教程, Python编程练习, Python Django, Python Flask, Python Tutorials, Python Video Tutorials Download\">\\n\\t\\t<meta name=\"description\" content=\"www.spbeen.com是一个关于Python技术栈的教程网站，分教程、项目两类，目前有Python3教程、Xpath教程、基于Python的网络爬虫、基于Python的文件备份、\">\\n\\t\\t<meta name=\"author\" content=\"布啦豆\">\\n\\n\\t\\t<meta name=\"baidu_union_verify\" content=\"d4634268483255495b43735addb956bf\">\\n\\n        <meta property=\"og:type\" content=\"article\">\\n        <meta property=\"og:image\" content=\"http://upload-images.jianshu.io/upload_images/174489-0434c2855ab98c3a.JPG?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240\">\\n        <meta property=\"og:url\" content=\"http://spbeen.com/course/Python3%E6%95%99%E7%A8%8B/\">\\n        <meta property=\"og:title\" content=\"Python3.x教程\">\\n        <meta property=\"og:description\" content=\"小白的Python3快速入门教程\">\\n\\n\\n\\t\\t<link rel=\"shortcut icon\" href=\"http://spbeen.oss-cn-qingdao.aliyuncs.com/static%2Ffavicon.ico\">\\n\\n\\t\\t<title> Python3教程 | Spbeen </title>\\n        \\n    \\n\\t\\t<link rel=\"stylesheet\" type=\"text/css\" href=\"http://spbeen.oss-cn-qingdao.aliyuncs.com/static%2Fwww%2Fcss%2Ftopbottom.css\" />\\n\\n            <script src=\"https://cdn.bootcss.com/vue/2.1.10/vue.js\"></script>\\n\\n\\t\\t<!--<link rel=\"stylesheet\" href=\"https://cdn.jsdelivr.net/semantic-ui/2.2.4/semantic.min.css\">-->\\n        <!--<script src=\"https://cdn.jsdelivr.net/semantic-ui/2.2.4/semantic.min.js\"></script>-->\\n\\n        <link href=\"https://cdnjs.cloudflare.com/ajax/libs/semantic-ui/2.4.1/semantic.css\" rel=\"stylesheet\">\\n        <link rel=\"stylesheet\" href=\"http://spbeen.oss-cn-qingdao.aliyuncs.com/static%2Fwww%2Fcss%2Fmarkdown-www.css\" />\\n        <style>\\n        #bread{background-color: white;box-shadow:0px 0px 0px white;color:black;}\\n        #bread a{color:black;}\\n        #mapicon{font-size: 2em;  margin-right: 0.3em;}\\n        </style>\\n\\n\\n            <script src=\"https://cdn.bootcss.com/jquery/3.3.1/jquery.min.js\"></script>\\n\\n            <script src=\"https://cdnjs.cloudflare.com/ajax/libs/semantic-ui/2.4.1/semantic.js\"></script>\\n\\n            <script src=\"https://cdn.bootcss.com/reqwest/2.0.5/reqwest.js\"></script>\\n\\n\\n        \\n    <link rel=\"stylesheet\" href=\"http://spbeen.oss-cn-qingdao.aliyuncs.com/static%2Fcourse%2Fcss%2Fcourse.css\">\\n    <link rel=\"stylesheet\" href=\"http://spbeen.oss-cn-qingdao.aliyuncs.com/static%2Fcourse%2Fcss%2Fcode%2Fagate.css\">\\n\\n    <script src=\"https://cdn.bootcss.com/highlight.js/9.8.0/highlight.min.js\"></script>\\n    <script>hljs.initHighlightingOnLoad();</script>\\n    <style>\\n        h1 a {\\n            color:black;\\n        }\\n    </style>\\n\\n\\n\\t\\t<!--<script>(function(i,s,o,g,r,a,m){i[\"DaoVoiceObject\"]=r;i[r]=i[r]||function(){(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;a.charset=\"utf-8\";m.parentNode.insertBefore(a,m)})(window,document,\"script\",(\\'https:\\' == document.location.protocol ? \\'https:\\' : \\'http:\\') + \"//widget.daovoice.io/widget/c824b807.js\",\"daovoice\")</script>-->\\n\\t\\t<!--<script>-->\\n\\t\\t<!--daovoice(\\'init\\', {-->\\n\\t\\t  <!--app_id: \"c824b807\"-->\\n\\t\\t<!--});-->\\n\\t\\t<!--daovoice(\\'update\\');-->\\n\\t\\t<!--</script>-->\\n\\t</head>\\n\\n\\t<body>\\n    \\n    <div class=\"ui sidebar inverted vertical menu\">\\n        <a href=\"/\" class=\"item bigfont\">\\n            Spbeen <i class=\"home icon\"></i>\\n        </a>\\n        <a class=\"item\" href=\"/index\">\\n          <i class=\"book icon\"></i>教程\\n        </a>\\n        <a class=\"item\" href=\"/index\">\\n          <i class=\"book icon\"></i>项目\\n        </a>\\n\\n        <div class=\"divider\"></div>\\n            <div class=\"active item\">\\n                Python3教程\\n            </div>\\n\\n        \\n            <a class=\"item\" href=\"/p/d974cd56-388b-49ba-a75c-1b5a9896183c\">Python安装</a>\\n        \\n            <a class=\"item\" href=\"/p/373bd391-6173-4d6a-8146-c60a507d2e5e\">Hello Python</a>\\n        \\n            <a class=\"item\" href=\"/p/e6ef5e8b-3a88-4925-a3e9-029c22c05fd6\">第一个Python程序</a>\\n        \\n            <a class=\"item\" href=\"/p/b6faf2cb-c10d-4327-8107-e4aeaae22905\">Python乐趣介绍</a>\\n        \\n            <a class=\"item\" href=\"/p/b070e963-ba6f-4e6f-a360-1679417ddc77\">Python数据类型和变量</a>\\n        \\n            <a class=\"item\" href=\"/p/073691dc-8a0b-4387-a656-4ab8314c4dfa\">Python判断和循环</a>\\n        \\n            <a class=\"item\" href=\"/p/36b42351-4166-4820-8d41-bc7f43d6cd09\">Python函数定义和使用（一）</a>\\n        \\n            <a class=\"item\" href=\"/p/3c7b2e3c-9f51-4dbd-a594-2207f9bd2923\">Python函数定义和使用（二）</a>\\n        \\n            <a class=\"item\" href=\"/p/9a371ca4-91fd-4bae-8a82-0101359e94c7\">列表和一些玩法</a>\\n        \\n            <a class=\"item\" href=\"/p/5a36390e-6ae2-4750-8d72-ae1213893f80\">Python的缩进控制</a>\\n        \\n            <a class=\"item\" href=\"/p/a8716549-7167-4c60-8829-8d35f3af0352\">字典和一些用法</a>\\n        \\n            <a class=\"item\" href=\"/p/98b6fa6c-6ecd-44bb-8b3d-14a4c908a052\">Python的编码问题</a>\\n        \\n            <a class=\"item\" href=\"/p/8693d882-c827-4998-be43-846d613a7aa3\">Python的while循环</a>\\n        \\n            <a class=\"item\" href=\"/p/6949b9e7-05bf-480f-90c7-fd100549bdf2\">初步涉及异常处理</a>\\n        \\n            <a class=\"item\" href=\"/p/0c5af0c2-b8f3-4bae-a8da-63d61553da1f\">Python操作文件</a>\\n        \\n            <a class=\"item\" href=\"/p/d138049c-4d75-45d7-9cdf-125cfd7f3b45\">Python的集合类型set</a>\\n        \\n            <a class=\"item\" href=\"/p/a5a9ab0b-0d8c-4fbd-9d31-259737aa53c3\">Python匿名函数lambda</a>\\n        \\n            <a class=\"item\" href=\"/p/ce4bdbaa-926c-4de4-a81c-c616bb3face2\">Python内置高阶函数</a>\\n        \\n            <a class=\"item\" href=\"/p/6232e822-8ddf-4174-ada1-e9ab2f0f9249\">对象的概念和使用示例</a>\\n        \\n            <a class=\"item\" href=\"/p/8edfee70-da72-484a-836a-ede361de344c\">装饰器Decorator使用</a>\\n        \\n            <a class=\"item\" href=\"/p/7ecd0743-9e06-43d5-b32d-de0089ab4001\">yield和生成器是什么？</a>\\n        \\n            <a class=\"item\" href=\"/p/c7275ff7-522d-49ae-82d7-469d0eef296f\">Python线程使用和概念理解</a>\\n        \\n            <a class=\"item\" href=\"/p/036d0200-adb3-46ba-814f-8ee4ff18cd5d\">类的不同方法（概念）</a>\\n        \\n            <a class=\"item\" href=\"/p/d91cc59a-93af-491c-b731-115703171a8f\">类的继承和多态</a>\\n        \\n\\n        \\n\\n        \\n    </div>\\n\\n        <div class=\"pusher\">\\n            <div class=\"ui grid\">\\n                <div class=\"ui computer only sixteen wide computer column \">\\n                    \\n                    <div class=\"ui inverted teal borderless menu noradius\">\\n                        <div class=\"ui container\">\\n                            <a class=\"header item bigfont\" href=\"/\">\\n                                SpBeen\\n                            </a>\\n\\n                            <div class=\"ui simple dropdown item\" >\\n                                <div class=\"text\">教程</div><i class=\"dropdown icon\"></i>\\n                                <div class=\"menu\">\\n                                    <a class=\"item\" href=\"/course/Python3教程\">Python3教程</a>\\n                                    <a class=\"item\" href=\"/course/xpath教程/\" >Xpath教程</a>\\n                                    <a class=\"item\" href=\"/course/Linux常用命令/\" >Linux常用命令</a>\\n                                </div>\\n                            </div>\\n\\n\\n                            <div class=\"ui simple dropdown item\" >\\n                                <div class=\"text\">项目</div><i class=\"dropdown icon\"></i>\\n                                <div class=\"menu\">\\n                                    <a class=\"item\" href=\"/item/基于Flask的微信娱乐机器人\">基于Flask的微信娱乐机器人</a>\\n                                    <a class=\"item\" href=\"/item/基于Python的网络爬虫\">基于Python的网络爬虫</a>\\n                                    <a class=\"item\" href=\"/item/基于 Python 的文件备份\">基于 Python 的文件备份</a>\\n                                </div>\\n                            </div>\\n\\n\\n                            <div class=\"ui simple dropdown item\" >\\n                                <div class=\"text\">工具</div><i class=\"dropdown icon\"></i>\\n                                <div class=\"menu\">\\n                                    <a class=\"item\" href=\"/tool/request_info/\">IP请求信息查询</a>\\n                                </div>\\n                            </div>\\n                        </div>\\n                    </div>\\n                    \\n                </div>\\n                <div class=\"ui mobile only tablet only sixteen wide mobile sixteen wide tablet column\">\\n                    <div class=\"ui inverted teal borderless menu noradius mobile-tablet\">\\n                        <a id=\"sidebar\"  class=\"item\"><i class=\"bigger sidebar icon\"></i></a>\\n\\n                        <a href=\"/\" class=\"right item bigfont mobile-tablet-item\">Spbeen</a>\\n\\n                        <!--</div>-->\\n                    </div>\\n                </div>\\n            </div>\\n\\n        <div class=\"ui container\">\\n            <div id=\"bread\" class=\"ui icon message\">\\n\\n                    <i id=\"mapicon\" class=\"location arrow icon\"></i>\\n                    <div class=\"content\">\\n                    <p>\\n                        <div class=\"ui breadcrumb\">\\n\\n\\n                            \\n<a class=\"section\" href=\"/\">Spbeen</a>\\n<div class=\"divider\"> > </div>\\n<a class=\"section\" href=\"/index\">Python3教程</a>\\n<div class=\"divider\"> > </div>\\n<a class=\"active section\" href=\"e6ef5e8b-3a88-4925-a3e9-029c22c05fd6\">第一个Python程序</a>\\n\\n\\n                        </div>\\n                    </p>\\n                    </div>\\n\\n\\n            </div>\\n        </div>\\n\\n            <div class=\"content\">\\n                \\n<div id=\"course_show\" class=\"ui container\">\\n\\n    <div  class=\"ui grid\">\\n        <div class=\"ui computer only four wide computer column \">\\n            <div class=\"ui red segment\">\\n                <div class=\"ui vertical text menu\">\\n                    <div class=\"active item\">\\n                        Python3教程\\n                    </div>\\n                    \\n                        <a class=\"item\" href=\"/p/d974cd56-388b-49ba-a75c-1b5a9896183c\">Python安装</a>\\n                    \\n                        <a class=\"item\" href=\"/p/373bd391-6173-4d6a-8146-c60a507d2e5e\">Hello Python</a>\\n                    \\n                        <a class=\"item\" href=\"/p/e6ef5e8b-3a88-4925-a3e9-029c22c05fd6\">第一个Python程序</a>\\n                    \\n                        <a class=\"item\" href=\"/p/b6faf2cb-c10d-4327-8107-e4aeaae22905\">Python乐趣介绍</a>\\n                    \\n                        <a class=\"item\" href=\"/p/b070e963-ba6f-4e6f-a360-1679417ddc77\">Python数据类型和变量</a>\\n                    \\n                        <a class=\"item\" href=\"/p/073691dc-8a0b-4387-a656-4ab8314c4dfa\">Python判断和循环</a>\\n                    \\n                        <a class=\"item\" href=\"/p/36b42351-4166-4820-8d41-bc7f43d6cd09\">Python函数定义和使用（一）</a>\\n                    \\n                        <a class=\"item\" href=\"/p/3c7b2e3c-9f51-4dbd-a594-2207f9bd2923\">Python函数定义和使用（二）</a>\\n                    \\n                        <a class=\"item\" href=\"/p/9a371ca4-91fd-4bae-8a82-0101359e94c7\">列表和一些玩法</a>\\n                    \\n                        <a class=\"item\" href=\"/p/5a36390e-6ae2-4750-8d72-ae1213893f80\">Python的缩进控制</a>\\n                    \\n                        <a class=\"item\" href=\"/p/a8716549-7167-4c60-8829-8d35f3af0352\">字典和一些用法</a>\\n                    \\n                        <a class=\"item\" href=\"/p/98b6fa6c-6ecd-44bb-8b3d-14a4c908a052\">Python的编码问题</a>\\n                    \\n                        <a class=\"item\" href=\"/p/8693d882-c827-4998-be43-846d613a7aa3\">Python的while循环</a>\\n                    \\n                        <a class=\"item\" href=\"/p/6949b9e7-05bf-480f-90c7-fd100549bdf2\">初步涉及异常处理</a>\\n                    \\n                        <a class=\"item\" href=\"/p/0c5af0c2-b8f3-4bae-a8da-63d61553da1f\">Python操作文件</a>\\n                    \\n                        <a class=\"item\" href=\"/p/d138049c-4d75-45d7-9cdf-125cfd7f3b45\">Python的集合类型set</a>\\n                    \\n                        <a class=\"item\" href=\"/p/a5a9ab0b-0d8c-4fbd-9d31-259737aa53c3\">Python匿名函数lambda</a>\\n                    \\n                        <a class=\"item\" href=\"/p/ce4bdbaa-926c-4de4-a81c-c616bb3face2\">Python内置高阶函数</a>\\n                    \\n                        <a class=\"item\" href=\"/p/6232e822-8ddf-4174-ada1-e9ab2f0f9249\">对象的概念和使用示例</a>\\n                    \\n                        <a class=\"item\" href=\"/p/8edfee70-da72-484a-836a-ede361de344c\">装饰器Decorator使用</a>\\n                    \\n                        <a class=\"item\" href=\"/p/7ecd0743-9e06-43d5-b32d-de0089ab4001\">yield和生成器是什么？</a>\\n                    \\n                        <a class=\"item\" href=\"/p/c7275ff7-522d-49ae-82d7-469d0eef296f\">Python线程使用和概念理解</a>\\n                    \\n                        <a class=\"item\" href=\"/p/036d0200-adb3-46ba-814f-8ee4ff18cd5d\">类的不同方法（概念）</a>\\n                    \\n                        <a class=\"item\" href=\"/p/d91cc59a-93af-491c-b731-115703171a8f\">类的继承和多态</a>\\n                    \\n                    \\n\\n                    \\n                </div>\\n            </div>\\n\\n            <div class=\"ui violet segment\">\\n                <!--<div class=\"ui header center aligned\">扫码移步其他終端</div>-->\\n                <div class=\"ui header center aligned\">扫码关注微信公众号</div>\\n                <div class=\"ui image\">\\n                    <!--<img src=\"{-{ qrcode(url) }-}\" alt=\"\">-->\\n                    <img src=\"http://static.spbeen.com/img/wechat_qrcode/qrcode_for_gh_5e6077ecc776_1280.jpg\" alt=\"\">\\n                </div>\\n            </div>\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n        </div>\\n\\n        <div class=\"sixteen wide mobile sixteen wide tablet twelve wide computer column right\">\\n\\n\\n            <div  class=\" ui blue attached segment\">\\n\\n                <h1 class=\"ui header center aligned animated\">\\n                    <a href=\"/p/e6ef5e8b-3a88-4925-a3e9-029c22c05fd6\">第一个Python程序</a>\\n                </h1>\\n                <span class=\"\"><i class=\"user icon\"></i>\\n                    布啦豆\\n                </span>\\n                <span class=\"\"><i class=\"eye icon\"></i>\\n                    12254\\n                </span>\\n\\n                <div  class=\"ui divider\"></div>\\n\\n                <p>每次我高高兴兴的跑去上编程语言课程，好的心情总会在老师讲的数据类型中变得无比焦灼~~</p>\\n<p>基础的地基总是要打的，但是要先构想房子的样式，再决定地基怎么打咯</p>\\n<p>想想，我为什么要学Python【大学编程基础是谭浩强的C课本，编码问题就是一堆 烫烫烫烫烫烫烫烫烫】，就是为了好玩啊，兴趣所在，所以一开始呢，先上一个大学写烂了的猜数字游戏【注释版，1-1.py】</p>\\n<pre><code>import random\\n#导入生成随机的库文件\\n\\nanswer = random.randint(0,10)\\n#random库中有个randint函数，接收两个值，从这两个值中间随机返回一个值，赋值给answer，一个等号是赋值，两个等号是对比\\n\\nguess = input(\\'guess number:\\')\\n#input是输入的意思，input函数也就是输入的函数，程序会停在这并打印“guess number：”，等待用户输入完成并继续执行程序\\n\\nif guess == answer:#if是如果，两个等号是比较，意思是如果guess和answer相等\\n    print(\\'You do it!\\')\\n    #如果相等，则执行这行代码，print是输出打印的意思，显示\\'You do it!\\'\\nelse:#如果不相等，前面的等于比较不成立，则跳到这里，else是别的意思\\n    print(\\'oh, so bad~\\')\\n    #判断不成立，打印\\'oh, so bad~\\'\\n\\nprint(\\'Answer is \\', answer)\\n#最后打印一下程序的答案\\n</code></pre>\\n\\n<p><img alt=\"猜数字截图.JPG\" src=\"http://upload-images.jianshu.io/upload_images/174489-f52f18ea996be590.JPG?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240\" /></p>\\n<p>一个程序就这么被写完了，看懂了吗？Python和C对比，简直就是白话文和甲骨文的区别【打脸了，这里没有C语言的对比版本】。不用上手，看懂就可以了，这里只是个开始，不做别的讲解，另外补上一下这节的知识点</p>\\n<table>\\n<thead>\\n<tr>\\n<th align=\"center\">函数/关键字</th>\\n<th align=\"center\">说明</th>\\n</tr>\\n</thead>\\n<tbody>\\n<tr>\\n<td align=\"center\">import</td>\\n<td align=\"center\">Python关键字，用于导入Python库文件</td>\\n</tr>\\n<tr>\\n<td align=\"center\">print</td>\\n<td align=\"center\">用于输入/打印de 函数，print后面空一格再写变量们，变量间用逗号</td>\\n</tr>\\n<tr>\\n<td align=\"center\">input()</td>\\n<td align=\"center\">Python的输入函数，程序运行到此会停下等待用户输入，括号内可以填用单引号或者双引号、三引号的字符串</td>\\n</tr>\\n<tr>\\n<td align=\"center\">random</td>\\n<td align=\"center\">Python的库，就像擎天柱的车厢，Python有很多第三方库，自己也可以写</td>\\n</tr>\\n<tr>\\n<td align=\"center\">random.randint()</td>\\n<td align=\"center\">random库里面有个randint()函数，放入两个值，随机从这两个值之间取一个整数值，返回回去</td>\\n</tr>\\n</tbody>\\n</table>\\n<p>另外，补充一些Python的知识点：</p>\\n<ul>\\n<li>Python声明一个变量，不用任何类型，直接在程序中写一个名，例如 guess，然后给guess赋值一个数，就是 guess = 1</li>\\n<li>函数调用，拿random库举例，random.randint(0,10)就是调用randint函数</li>\\n<li>answer = random.randint(0,10)代码，就是调用randint函数，并将函数的返回值赋值给answer ，代码下文就可以用answer拿到randint的随机值，answer在这里起到保存的作用</li>\\n<li>赋值是一个等于号，guess = 1就是将1存到guess中；guess==1则是比较guess和1是否相等</li>\\n</ul>\\n<p>以上，看懂即可，记住更好咯~以后这些用的多，不用学都能会用</p>\\n\\n\\n\\n            </div>\\n            \\n            <div class=\"ui teal bottom attached  message\">\\n                <p>版权声明：允许转载，转载请注明出处 —— <a href=\"/p/e6ef5e8b-3a88-4925-a3e9-029c22c05fd6\">《Python3教程》： 第一个Python程序 </a></p>\\n            </div>\\n            \\n\\n        </div>\\n    </div>\\n</div>\\n\\n\\n            </div>\\n\\n            \\n            <div class=\"ui inverted teal segment noradius\">\\n                <div class=\"ui container\">\\n\\n                   Copyright @2016-2017 | 赣ICP备16003025号 <script type=\"text/javascript\">var cnzz_protocol = ((\"https:\" == document.location.protocol) ? \" https://\" : \" http://\");document.write(unescape(\"%3Cspan id=\\'cnzz_stat_icon_1260149661\\'%3E%3C/span%3E%3Cscript src=\\'\" + cnzz_protocol + \"s11.cnzz.com/z_stat.php%3Fid%3D1260149661\\' type=\\'text/javascript\\'%3E%3C/script%3E\"));</script>\\n\\n\\n                </div>\\n            </div>\\n\\n            \\n            \\n            <script>\\n                $(document).ready(function(){\\n                    $(\".content table\").addClass(\"ui celled striped table\");\\n\\n                    $(\"#sidebar\").click(function(){\\n                      $(\\'.ui.sidebar\\').sidebar(\\'toggle\\');\\n                    });\\n\\n                });\\n            </script>\\n            \\n\\n    </div>\\n\\t</body>\\n\\n</html>'"
      ]
     },
     "execution_count": 8,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "response.text"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 9,
   "metadata": {
    "collapsed": true
   },
   "outputs": [
    {
     "data": {
      "text/plain": [
       "b'<!DOCTYPE html>\\n\\n<html lang=\"en\">\\n\\n\\t<head>\\n\\t\\t<meta charset=\"UTF-8\">\\n\\n\\t\\t<meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\\n\\t\\t<meta name=\"keywords\" content=\"Python, Python\\xe8\\xb5\\x84\\xe8\\xae\\xaf, Python\\xe5\\x9f\\xba\\xe7\\xa1\\x80\\xe6\\x95\\x99\\xe7\\xa8\\x8b, Python\\xe5\\xad\\xa6\\xe4\\xb9\\xa0\\xe7\\xac\\x94\\xe8\\xae\\xb0, Python\\xe7\\x94\\xb5\\xe5\\xad\\x90\\xe4\\xb9\\xa6, Python\\xe8\\xa7\\x86\\xe9\\xa2\\x91\\xe6\\x95\\x99\\xe7\\xa8\\x8b, Python\\xe7\\xbc\\x96\\xe7\\xa8\\x8b\\xe7\\xbb\\x83\\xe4\\xb9\\xa0, Python Django, Python Flask, Python Tutorials, Python Video Tutorials Download\">\\n\\t\\t<meta name=\"description\" content=\"www.spbeen.com\\xe6\\x98\\xaf\\xe4\\xb8\\x80\\xe4\\xb8\\xaa\\xe5\\x85\\xb3\\xe4\\xba\\x8ePython\\xe6\\x8a\\x80\\xe6\\x9c\\xaf\\xe6\\xa0\\x88\\xe7\\x9a\\x84\\xe6\\x95\\x99\\xe7\\xa8\\x8b\\xe7\\xbd\\x91\\xe7\\xab\\x99\\xef\\xbc\\x8c\\xe5\\x88\\x86\\xe6\\x95\\x99\\xe7\\xa8\\x8b\\xe3\\x80\\x81\\xe9\\xa1\\xb9\\xe7\\x9b\\xae\\xe4\\xb8\\xa4\\xe7\\xb1\\xbb\\xef\\xbc\\x8c\\xe7\\x9b\\xae\\xe5\\x89\\x8d\\xe6\\x9c\\x89Python3\\xe6\\x95\\x99\\xe7\\xa8\\x8b\\xe3\\x80\\x81Xpath\\xe6\\x95\\x99\\xe7\\xa8\\x8b\\xe3\\x80\\x81\\xe5\\x9f\\xba\\xe4\\xba\\x8ePython\\xe7\\x9a\\x84\\xe7\\xbd\\x91\\xe7\\xbb\\x9c\\xe7\\x88\\xac\\xe8\\x99\\xab\\xe3\\x80\\x81\\xe5\\x9f\\xba\\xe4\\xba\\x8ePython\\xe7\\x9a\\x84\\xe6\\x96\\x87\\xe4\\xbb\\xb6\\xe5\\xa4\\x87\\xe4\\xbb\\xbd\\xe3\\x80\\x81\">\\n\\t\\t<meta name=\"author\" content=\"\\xe5\\xb8\\x83\\xe5\\x95\\xa6\\xe8\\xb1\\x86\">\\n\\n\\t\\t<meta name=\"baidu_union_verify\" content=\"d4634268483255495b43735addb956bf\">\\n\\n        <meta property=\"og:type\" content=\"article\">\\n        <meta property=\"og:image\" content=\"http://upload-images.jianshu.io/upload_images/174489-0434c2855ab98c3a.JPG?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240\">\\n        <meta property=\"og:url\" content=\"http://spbeen.com/course/Python3%E6%95%99%E7%A8%8B/\">\\n        <meta property=\"og:title\" content=\"Python3.x\\xe6\\x95\\x99\\xe7\\xa8\\x8b\">\\n        <meta property=\"og:description\" content=\"\\xe5\\xb0\\x8f\\xe7\\x99\\xbd\\xe7\\x9a\\x84Python3\\xe5\\xbf\\xab\\xe9\\x80\\x9f\\xe5\\x85\\xa5\\xe9\\x97\\xa8\\xe6\\x95\\x99\\xe7\\xa8\\x8b\">\\n\\n\\n\\t\\t<link rel=\"shortcut icon\" href=\"http://spbeen.oss-cn-qingdao.aliyuncs.com/static%2Ffavicon.ico\">\\n\\n\\t\\t<title> Python3\\xe6\\x95\\x99\\xe7\\xa8\\x8b | Spbeen </title>\\n        \\n    \\n\\t\\t<link rel=\"stylesheet\" type=\"text/css\" href=\"http://spbeen.oss-cn-qingdao.aliyuncs.com/static%2Fwww%2Fcss%2Ftopbottom.css\" />\\n\\n            <script src=\"https://cdn.bootcss.com/vue/2.1.10/vue.js\"></script>\\n\\n\\t\\t<!--<link rel=\"stylesheet\" href=\"https://cdn.jsdelivr.net/semantic-ui/2.2.4/semantic.min.css\">-->\\n        <!--<script src=\"https://cdn.jsdelivr.net/semantic-ui/2.2.4/semantic.min.js\"></script>-->\\n\\n        <link href=\"https://cdnjs.cloudflare.com/ajax/libs/semantic-ui/2.4.1/semantic.css\" rel=\"stylesheet\">\\n        <link rel=\"stylesheet\" href=\"http://spbeen.oss-cn-qingdao.aliyuncs.com/static%2Fwww%2Fcss%2Fmarkdown-www.css\" />\\n        <style>\\n        #bread{background-color: white;box-shadow:0px 0px 0px white;color:black;}\\n        #bread a{color:black;}\\n        #mapicon{font-size: 2em;  margin-right: 0.3em;}\\n        </style>\\n\\n\\n            <script src=\"https://cdn.bootcss.com/jquery/3.3.1/jquery.min.js\"></script>\\n\\n            <script src=\"https://cdnjs.cloudflare.com/ajax/libs/semantic-ui/2.4.1/semantic.js\"></script>\\n\\n            <script src=\"https://cdn.bootcss.com/reqwest/2.0.5/reqwest.js\"></script>\\n\\n\\n        \\n    <link rel=\"stylesheet\" href=\"http://spbeen.oss-cn-qingdao.aliyuncs.com/static%2Fcourse%2Fcss%2Fcourse.css\">\\n    <link rel=\"stylesheet\" href=\"http://spbeen.oss-cn-qingdao.aliyuncs.com/static%2Fcourse%2Fcss%2Fcode%2Fagate.css\">\\n\\n    <script src=\"https://cdn.bootcss.com/highlight.js/9.8.0/highlight.min.js\"></script>\\n    <script>hljs.initHighlightingOnLoad();</script>\\n    <style>\\n        h1 a {\\n            color:black;\\n        }\\n    </style>\\n\\n\\n\\t\\t<!--<script>(function(i,s,o,g,r,a,m){i[\"DaoVoiceObject\"]=r;i[r]=i[r]||function(){(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;a.charset=\"utf-8\";m.parentNode.insertBefore(a,m)})(window,document,\"script\",(\\'https:\\' == document.location.protocol ? \\'https:\\' : \\'http:\\') + \"//widget.daovoice.io/widget/c824b807.js\",\"daovoice\")</script>-->\\n\\t\\t<!--<script>-->\\n\\t\\t<!--daovoice(\\'init\\', {-->\\n\\t\\t  <!--app_id: \"c824b807\"-->\\n\\t\\t<!--});-->\\n\\t\\t<!--daovoice(\\'update\\');-->\\n\\t\\t<!--</script>-->\\n\\t</head>\\n\\n\\t<body>\\n    \\n    <div class=\"ui sidebar inverted vertical menu\">\\n        <a href=\"/\" class=\"item bigfont\">\\n            Spbeen <i class=\"home icon\"></i>\\n        </a>\\n        <a class=\"item\" href=\"/index\">\\n          <i class=\"book icon\"></i>\\xe6\\x95\\x99\\xe7\\xa8\\x8b\\n        </a>\\n        <a class=\"item\" href=\"/index\">\\n          <i class=\"book icon\"></i>\\xe9\\xa1\\xb9\\xe7\\x9b\\xae\\n        </a>\\n\\n        <div class=\"divider\"></div>\\n            <div class=\"active item\">\\n                Python3\\xe6\\x95\\x99\\xe7\\xa8\\x8b\\n            </div>\\n\\n        \\n            <a class=\"item\" href=\"/p/d974cd56-388b-49ba-a75c-1b5a9896183c\">Python\\xe5\\xae\\x89\\xe8\\xa3\\x85</a>\\n        \\n            <a class=\"item\" href=\"/p/373bd391-6173-4d6a-8146-c60a507d2e5e\">Hello Python</a>\\n        \\n            <a class=\"item\" href=\"/p/e6ef5e8b-3a88-4925-a3e9-029c22c05fd6\">\\xe7\\xac\\xac\\xe4\\xb8\\x80\\xe4\\xb8\\xaaPython\\xe7\\xa8\\x8b\\xe5\\xba\\x8f</a>\\n        \\n            <a class=\"item\" href=\"/p/b6faf2cb-c10d-4327-8107-e4aeaae22905\">Python\\xe4\\xb9\\x90\\xe8\\xb6\\xa3\\xe4\\xbb\\x8b\\xe7\\xbb\\x8d</a>\\n        \\n            <a class=\"item\" href=\"/p/b070e963-ba6f-4e6f-a360-1679417ddc77\">Python\\xe6\\x95\\xb0\\xe6\\x8d\\xae\\xe7\\xb1\\xbb\\xe5\\x9e\\x8b\\xe5\\x92\\x8c\\xe5\\x8f\\x98\\xe9\\x87\\x8f</a>\\n        \\n            <a class=\"item\" href=\"/p/073691dc-8a0b-4387-a656-4ab8314c4dfa\">Python\\xe5\\x88\\xa4\\xe6\\x96\\xad\\xe5\\x92\\x8c\\xe5\\xbe\\xaa\\xe7\\x8e\\xaf</a>\\n        \\n            <a class=\"item\" href=\"/p/36b42351-4166-4820-8d41-bc7f43d6cd09\">Python\\xe5\\x87\\xbd\\xe6\\x95\\xb0\\xe5\\xae\\x9a\\xe4\\xb9\\x89\\xe5\\x92\\x8c\\xe4\\xbd\\xbf\\xe7\\x94\\xa8\\xef\\xbc\\x88\\xe4\\xb8\\x80\\xef\\xbc\\x89</a>\\n        \\n            <a class=\"item\" href=\"/p/3c7b2e3c-9f51-4dbd-a594-2207f9bd2923\">Python\\xe5\\x87\\xbd\\xe6\\x95\\xb0\\xe5\\xae\\x9a\\xe4\\xb9\\x89\\xe5\\x92\\x8c\\xe4\\xbd\\xbf\\xe7\\x94\\xa8\\xef\\xbc\\x88\\xe4\\xba\\x8c\\xef\\xbc\\x89</a>\\n        \\n            <a class=\"item\" href=\"/p/9a371ca4-91fd-4bae-8a82-0101359e94c7\">\\xe5\\x88\\x97\\xe8\\xa1\\xa8\\xe5\\x92\\x8c\\xe4\\xb8\\x80\\xe4\\xba\\x9b\\xe7\\x8e\\xa9\\xe6\\xb3\\x95</a>\\n        \\n            <a class=\"item\" href=\"/p/5a36390e-6ae2-4750-8d72-ae1213893f80\">Python\\xe7\\x9a\\x84\\xe7\\xbc\\xa9\\xe8\\xbf\\x9b\\xe6\\x8e\\xa7\\xe5\\x88\\xb6</a>\\n        \\n            <a class=\"item\" href=\"/p/a8716549-7167-4c60-8829-8d35f3af0352\">\\xe5\\xad\\x97\\xe5\\x85\\xb8\\xe5\\x92\\x8c\\xe4\\xb8\\x80\\xe4\\xba\\x9b\\xe7\\x94\\xa8\\xe6\\xb3\\x95</a>\\n        \\n            <a class=\"item\" href=\"/p/98b6fa6c-6ecd-44bb-8b3d-14a4c908a052\">Python\\xe7\\x9a\\x84\\xe7\\xbc\\x96\\xe7\\xa0\\x81\\xe9\\x97\\xae\\xe9\\xa2\\x98</a>\\n        \\n            <a class=\"item\" href=\"/p/8693d882-c827-4998-be43-846d613a7aa3\">Python\\xe7\\x9a\\x84while\\xe5\\xbe\\xaa\\xe7\\x8e\\xaf</a>\\n        \\n            <a class=\"item\" href=\"/p/6949b9e7-05bf-480f-90c7-fd100549bdf2\">\\xe5\\x88\\x9d\\xe6\\xad\\xa5\\xe6\\xb6\\x89\\xe5\\x8f\\x8a\\xe5\\xbc\\x82\\xe5\\xb8\\xb8\\xe5\\xa4\\x84\\xe7\\x90\\x86</a>\\n        \\n            <a class=\"item\" href=\"/p/0c5af0c2-b8f3-4bae-a8da-63d61553da1f\">Python\\xe6\\x93\\x8d\\xe4\\xbd\\x9c\\xe6\\x96\\x87\\xe4\\xbb\\xb6</a>\\n        \\n            <a class=\"item\" href=\"/p/d138049c-4d75-45d7-9cdf-125cfd7f3b45\">Python\\xe7\\x9a\\x84\\xe9\\x9b\\x86\\xe5\\x90\\x88\\xe7\\xb1\\xbb\\xe5\\x9e\\x8bset</a>\\n        \\n            <a class=\"item\" href=\"/p/a5a9ab0b-0d8c-4fbd-9d31-259737aa53c3\">Python\\xe5\\x8c\\xbf\\xe5\\x90\\x8d\\xe5\\x87\\xbd\\xe6\\x95\\xb0lambda</a>\\n        \\n            <a class=\"item\" href=\"/p/ce4bdbaa-926c-4de4-a81c-c616bb3face2\">Python\\xe5\\x86\\x85\\xe7\\xbd\\xae\\xe9\\xab\\x98\\xe9\\x98\\xb6\\xe5\\x87\\xbd\\xe6\\x95\\xb0</a>\\n        \\n            <a class=\"item\" href=\"/p/6232e822-8ddf-4174-ada1-e9ab2f0f9249\">\\xe5\\xaf\\xb9\\xe8\\xb1\\xa1\\xe7\\x9a\\x84\\xe6\\xa6\\x82\\xe5\\xbf\\xb5\\xe5\\x92\\x8c\\xe4\\xbd\\xbf\\xe7\\x94\\xa8\\xe7\\xa4\\xba\\xe4\\xbe\\x8b</a>\\n        \\n            <a class=\"item\" href=\"/p/8edfee70-da72-484a-836a-ede361de344c\">\\xe8\\xa3\\x85\\xe9\\xa5\\xb0\\xe5\\x99\\xa8Decorator\\xe4\\xbd\\xbf\\xe7\\x94\\xa8</a>\\n        \\n            <a class=\"item\" href=\"/p/7ecd0743-9e06-43d5-b32d-de0089ab4001\">yield\\xe5\\x92\\x8c\\xe7\\x94\\x9f\\xe6\\x88\\x90\\xe5\\x99\\xa8\\xe6\\x98\\xaf\\xe4\\xbb\\x80\\xe4\\xb9\\x88\\xef\\xbc\\x9f</a>\\n        \\n            <a class=\"item\" href=\"/p/c7275ff7-522d-49ae-82d7-469d0eef296f\">Python\\xe7\\xba\\xbf\\xe7\\xa8\\x8b\\xe4\\xbd\\xbf\\xe7\\x94\\xa8\\xe5\\x92\\x8c\\xe6\\xa6\\x82\\xe5\\xbf\\xb5\\xe7\\x90\\x86\\xe8\\xa7\\xa3</a>\\n        \\n            <a class=\"item\" href=\"/p/036d0200-adb3-46ba-814f-8ee4ff18cd5d\">\\xe7\\xb1\\xbb\\xe7\\x9a\\x84\\xe4\\xb8\\x8d\\xe5\\x90\\x8c\\xe6\\x96\\xb9\\xe6\\xb3\\x95\\xef\\xbc\\x88\\xe6\\xa6\\x82\\xe5\\xbf\\xb5\\xef\\xbc\\x89</a>\\n        \\n            <a class=\"item\" href=\"/p/d91cc59a-93af-491c-b731-115703171a8f\">\\xe7\\xb1\\xbb\\xe7\\x9a\\x84\\xe7\\xbb\\xa7\\xe6\\x89\\xbf\\xe5\\x92\\x8c\\xe5\\xa4\\x9a\\xe6\\x80\\x81</a>\\n        \\n\\n        \\n\\n        \\n    </div>\\n\\n        <div class=\"pusher\">\\n            <div class=\"ui grid\">\\n                <div class=\"ui computer only sixteen wide computer column \">\\n                    \\n                    <div class=\"ui inverted teal borderless menu noradius\">\\n                        <div class=\"ui container\">\\n                            <a class=\"header item bigfont\" href=\"/\">\\n                                SpBeen\\n                            </a>\\n\\n                            <div class=\"ui simple dropdown item\" >\\n                                <div class=\"text\">\\xe6\\x95\\x99\\xe7\\xa8\\x8b</div><i class=\"dropdown icon\"></i>\\n                                <div class=\"menu\">\\n                                    <a class=\"item\" href=\"/course/Python3\\xe6\\x95\\x99\\xe7\\xa8\\x8b\">Python3\\xe6\\x95\\x99\\xe7\\xa8\\x8b</a>\\n                                    <a class=\"item\" href=\"/course/xpath\\xe6\\x95\\x99\\xe7\\xa8\\x8b/\" >Xpath\\xe6\\x95\\x99\\xe7\\xa8\\x8b</a>\\n                                    <a class=\"item\" href=\"/course/Linux\\xe5\\xb8\\xb8\\xe7\\x94\\xa8\\xe5\\x91\\xbd\\xe4\\xbb\\xa4/\" >Linux\\xe5\\xb8\\xb8\\xe7\\x94\\xa8\\xe5\\x91\\xbd\\xe4\\xbb\\xa4</a>\\n                                </div>\\n                            </div>\\n\\n\\n                            <div class=\"ui simple dropdown item\" >\\n                                <div class=\"text\">\\xe9\\xa1\\xb9\\xe7\\x9b\\xae</div><i class=\"dropdown icon\"></i>\\n                                <div class=\"menu\">\\n                                    <a class=\"item\" href=\"/item/\\xe5\\x9f\\xba\\xe4\\xba\\x8eFlask\\xe7\\x9a\\x84\\xe5\\xbe\\xae\\xe4\\xbf\\xa1\\xe5\\xa8\\xb1\\xe4\\xb9\\x90\\xe6\\x9c\\xba\\xe5\\x99\\xa8\\xe4\\xba\\xba\">\\xe5\\x9f\\xba\\xe4\\xba\\x8eFlask\\xe7\\x9a\\x84\\xe5\\xbe\\xae\\xe4\\xbf\\xa1\\xe5\\xa8\\xb1\\xe4\\xb9\\x90\\xe6\\x9c\\xba\\xe5\\x99\\xa8\\xe4\\xba\\xba</a>\\n                                    <a class=\"item\" href=\"/item/\\xe5\\x9f\\xba\\xe4\\xba\\x8ePython\\xe7\\x9a\\x84\\xe7\\xbd\\x91\\xe7\\xbb\\x9c\\xe7\\x88\\xac\\xe8\\x99\\xab\">\\xe5\\x9f\\xba\\xe4\\xba\\x8ePython\\xe7\\x9a\\x84\\xe7\\xbd\\x91\\xe7\\xbb\\x9c\\xe7\\x88\\xac\\xe8\\x99\\xab</a>\\n                                    <a class=\"item\" href=\"/item/\\xe5\\x9f\\xba\\xe4\\xba\\x8e Python \\xe7\\x9a\\x84\\xe6\\x96\\x87\\xe4\\xbb\\xb6\\xe5\\xa4\\x87\\xe4\\xbb\\xbd\">\\xe5\\x9f\\xba\\xe4\\xba\\x8e Python \\xe7\\x9a\\x84\\xe6\\x96\\x87\\xe4\\xbb\\xb6\\xe5\\xa4\\x87\\xe4\\xbb\\xbd</a>\\n                                </div>\\n                            </div>\\n\\n\\n                            <div class=\"ui simple dropdown item\" >\\n                                <div class=\"text\">\\xe5\\xb7\\xa5\\xe5\\x85\\xb7</div><i class=\"dropdown icon\"></i>\\n                                <div class=\"menu\">\\n                                    <a class=\"item\" href=\"/tool/request_info/\">IP\\xe8\\xaf\\xb7\\xe6\\xb1\\x82\\xe4\\xbf\\xa1\\xe6\\x81\\xaf\\xe6\\x9f\\xa5\\xe8\\xaf\\xa2</a>\\n                                </div>\\n                            </div>\\n                        </div>\\n                    </div>\\n                    \\n                </div>\\n                <div class=\"ui mobile only tablet only sixteen wide mobile sixteen wide tablet column\">\\n                    <div class=\"ui inverted teal borderless menu noradius mobile-tablet\">\\n                        <a id=\"sidebar\"  class=\"item\"><i class=\"bigger sidebar icon\"></i></a>\\n\\n                        <a href=\"/\" class=\"right item bigfont mobile-tablet-item\">Spbeen</a>\\n\\n                        <!--</div>-->\\n                    </div>\\n                </div>\\n            </div>\\n\\n        <div class=\"ui container\">\\n            <div id=\"bread\" class=\"ui icon message\">\\n\\n                    <i id=\"mapicon\" class=\"location arrow icon\"></i>\\n                    <div class=\"content\">\\n                    <p>\\n                        <div class=\"ui breadcrumb\">\\n\\n\\n                            \\n<a class=\"section\" href=\"/\">Spbeen</a>\\n<div class=\"divider\"> > </div>\\n<a class=\"section\" href=\"/index\">Python3\\xe6\\x95\\x99\\xe7\\xa8\\x8b</a>\\n<div class=\"divider\"> > </div>\\n<a class=\"active section\" href=\"e6ef5e8b-3a88-4925-a3e9-029c22c05fd6\">\\xe7\\xac\\xac\\xe4\\xb8\\x80\\xe4\\xb8\\xaaPython\\xe7\\xa8\\x8b\\xe5\\xba\\x8f</a>\\n\\n\\n                        </div>\\n                    </p>\\n                    </div>\\n\\n\\n            </div>\\n        </div>\\n\\n            <div class=\"content\">\\n                \\n<div id=\"course_show\" class=\"ui container\">\\n\\n    <div  class=\"ui grid\">\\n        <div class=\"ui computer only four wide computer column \">\\n            <div class=\"ui red segment\">\\n                <div class=\"ui vertical text menu\">\\n                    <div class=\"active item\">\\n                        Python3\\xe6\\x95\\x99\\xe7\\xa8\\x8b\\n                    </div>\\n                    \\n                        <a class=\"item\" href=\"/p/d974cd56-388b-49ba-a75c-1b5a9896183c\">Python\\xe5\\xae\\x89\\xe8\\xa3\\x85</a>\\n                    \\n                        <a class=\"item\" href=\"/p/373bd391-6173-4d6a-8146-c60a507d2e5e\">Hello Python</a>\\n                    \\n                        <a class=\"item\" href=\"/p/e6ef5e8b-3a88-4925-a3e9-029c22c05fd6\">\\xe7\\xac\\xac\\xe4\\xb8\\x80\\xe4\\xb8\\xaaPython\\xe7\\xa8\\x8b\\xe5\\xba\\x8f</a>\\n                    \\n                        <a class=\"item\" href=\"/p/b6faf2cb-c10d-4327-8107-e4aeaae22905\">Python\\xe4\\xb9\\x90\\xe8\\xb6\\xa3\\xe4\\xbb\\x8b\\xe7\\xbb\\x8d</a>\\n                    \\n                        <a class=\"item\" href=\"/p/b070e963-ba6f-4e6f-a360-1679417ddc77\">Python\\xe6\\x95\\xb0\\xe6\\x8d\\xae\\xe7\\xb1\\xbb\\xe5\\x9e\\x8b\\xe5\\x92\\x8c\\xe5\\x8f\\x98\\xe9\\x87\\x8f</a>\\n                    \\n                        <a class=\"item\" href=\"/p/073691dc-8a0b-4387-a656-4ab8314c4dfa\">Python\\xe5\\x88\\xa4\\xe6\\x96\\xad\\xe5\\x92\\x8c\\xe5\\xbe\\xaa\\xe7\\x8e\\xaf</a>\\n                    \\n                        <a class=\"item\" href=\"/p/36b42351-4166-4820-8d41-bc7f43d6cd09\">Python\\xe5\\x87\\xbd\\xe6\\x95\\xb0\\xe5\\xae\\x9a\\xe4\\xb9\\x89\\xe5\\x92\\x8c\\xe4\\xbd\\xbf\\xe7\\x94\\xa8\\xef\\xbc\\x88\\xe4\\xb8\\x80\\xef\\xbc\\x89</a>\\n                    \\n                        <a class=\"item\" href=\"/p/3c7b2e3c-9f51-4dbd-a594-2207f9bd2923\">Python\\xe5\\x87\\xbd\\xe6\\x95\\xb0\\xe5\\xae\\x9a\\xe4\\xb9\\x89\\xe5\\x92\\x8c\\xe4\\xbd\\xbf\\xe7\\x94\\xa8\\xef\\xbc\\x88\\xe4\\xba\\x8c\\xef\\xbc\\x89</a>\\n                    \\n                        <a class=\"item\" href=\"/p/9a371ca4-91fd-4bae-8a82-0101359e94c7\">\\xe5\\x88\\x97\\xe8\\xa1\\xa8\\xe5\\x92\\x8c\\xe4\\xb8\\x80\\xe4\\xba\\x9b\\xe7\\x8e\\xa9\\xe6\\xb3\\x95</a>\\n                    \\n                        <a class=\"item\" href=\"/p/5a36390e-6ae2-4750-8d72-ae1213893f80\">Python\\xe7\\x9a\\x84\\xe7\\xbc\\xa9\\xe8\\xbf\\x9b\\xe6\\x8e\\xa7\\xe5\\x88\\xb6</a>\\n                    \\n                        <a class=\"item\" href=\"/p/a8716549-7167-4c60-8829-8d35f3af0352\">\\xe5\\xad\\x97\\xe5\\x85\\xb8\\xe5\\x92\\x8c\\xe4\\xb8\\x80\\xe4\\xba\\x9b\\xe7\\x94\\xa8\\xe6\\xb3\\x95</a>\\n                    \\n                        <a class=\"item\" href=\"/p/98b6fa6c-6ecd-44bb-8b3d-14a4c908a052\">Python\\xe7\\x9a\\x84\\xe7\\xbc\\x96\\xe7\\xa0\\x81\\xe9\\x97\\xae\\xe9\\xa2\\x98</a>\\n                    \\n                        <a class=\"item\" href=\"/p/8693d882-c827-4998-be43-846d613a7aa3\">Python\\xe7\\x9a\\x84while\\xe5\\xbe\\xaa\\xe7\\x8e\\xaf</a>\\n                    \\n                        <a class=\"item\" href=\"/p/6949b9e7-05bf-480f-90c7-fd100549bdf2\">\\xe5\\x88\\x9d\\xe6\\xad\\xa5\\xe6\\xb6\\x89\\xe5\\x8f\\x8a\\xe5\\xbc\\x82\\xe5\\xb8\\xb8\\xe5\\xa4\\x84\\xe7\\x90\\x86</a>\\n                    \\n                        <a class=\"item\" href=\"/p/0c5af0c2-b8f3-4bae-a8da-63d61553da1f\">Python\\xe6\\x93\\x8d\\xe4\\xbd\\x9c\\xe6\\x96\\x87\\xe4\\xbb\\xb6</a>\\n                    \\n                        <a class=\"item\" href=\"/p/d138049c-4d75-45d7-9cdf-125cfd7f3b45\">Python\\xe7\\x9a\\x84\\xe9\\x9b\\x86\\xe5\\x90\\x88\\xe7\\xb1\\xbb\\xe5\\x9e\\x8bset</a>\\n                    \\n                        <a class=\"item\" href=\"/p/a5a9ab0b-0d8c-4fbd-9d31-259737aa53c3\">Python\\xe5\\x8c\\xbf\\xe5\\x90\\x8d\\xe5\\x87\\xbd\\xe6\\x95\\xb0lambda</a>\\n                    \\n                        <a class=\"item\" href=\"/p/ce4bdbaa-926c-4de4-a81c-c616bb3face2\">Python\\xe5\\x86\\x85\\xe7\\xbd\\xae\\xe9\\xab\\x98\\xe9\\x98\\xb6\\xe5\\x87\\xbd\\xe6\\x95\\xb0</a>\\n                    \\n                        <a class=\"item\" href=\"/p/6232e822-8ddf-4174-ada1-e9ab2f0f9249\">\\xe5\\xaf\\xb9\\xe8\\xb1\\xa1\\xe7\\x9a\\x84\\xe6\\xa6\\x82\\xe5\\xbf\\xb5\\xe5\\x92\\x8c\\xe4\\xbd\\xbf\\xe7\\x94\\xa8\\xe7\\xa4\\xba\\xe4\\xbe\\x8b</a>\\n                    \\n                        <a class=\"item\" href=\"/p/8edfee70-da72-484a-836a-ede361de344c\">\\xe8\\xa3\\x85\\xe9\\xa5\\xb0\\xe5\\x99\\xa8Decorator\\xe4\\xbd\\xbf\\xe7\\x94\\xa8</a>\\n                    \\n                        <a class=\"item\" href=\"/p/7ecd0743-9e06-43d5-b32d-de0089ab4001\">yield\\xe5\\x92\\x8c\\xe7\\x94\\x9f\\xe6\\x88\\x90\\xe5\\x99\\xa8\\xe6\\x98\\xaf\\xe4\\xbb\\x80\\xe4\\xb9\\x88\\xef\\xbc\\x9f</a>\\n                    \\n                        <a class=\"item\" href=\"/p/c7275ff7-522d-49ae-82d7-469d0eef296f\">Python\\xe7\\xba\\xbf\\xe7\\xa8\\x8b\\xe4\\xbd\\xbf\\xe7\\x94\\xa8\\xe5\\x92\\x8c\\xe6\\xa6\\x82\\xe5\\xbf\\xb5\\xe7\\x90\\x86\\xe8\\xa7\\xa3</a>\\n                    \\n                        <a class=\"item\" href=\"/p/036d0200-adb3-46ba-814f-8ee4ff18cd5d\">\\xe7\\xb1\\xbb\\xe7\\x9a\\x84\\xe4\\xb8\\x8d\\xe5\\x90\\x8c\\xe6\\x96\\xb9\\xe6\\xb3\\x95\\xef\\xbc\\x88\\xe6\\xa6\\x82\\xe5\\xbf\\xb5\\xef\\xbc\\x89</a>\\n                    \\n                        <a class=\"item\" href=\"/p/d91cc59a-93af-491c-b731-115703171a8f\">\\xe7\\xb1\\xbb\\xe7\\x9a\\x84\\xe7\\xbb\\xa7\\xe6\\x89\\xbf\\xe5\\x92\\x8c\\xe5\\xa4\\x9a\\xe6\\x80\\x81</a>\\n                    \\n                    \\n\\n                    \\n                </div>\\n            </div>\\n\\n            <div class=\"ui violet segment\">\\n                <!--<div class=\"ui header center aligned\">\\xe6\\x89\\xab\\xe7\\xa0\\x81\\xe7\\xa7\\xbb\\xe6\\xad\\xa5\\xe5\\x85\\xb6\\xe4\\xbb\\x96\\xe7\\xb5\\x82\\xe7\\xab\\xaf</div>-->\\n                <div class=\"ui header center aligned\">\\xe6\\x89\\xab\\xe7\\xa0\\x81\\xe5\\x85\\xb3\\xe6\\xb3\\xa8\\xe5\\xbe\\xae\\xe4\\xbf\\xa1\\xe5\\x85\\xac\\xe4\\xbc\\x97\\xe5\\x8f\\xb7</div>\\n                <div class=\"ui image\">\\n                    <!--<img src=\"{-{ qrcode(url) }-}\" alt=\"\">-->\\n                    <img src=\"http://static.spbeen.com/img/wechat_qrcode/qrcode_for_gh_5e6077ecc776_1280.jpg\" alt=\"\">\\n                </div>\\n            </div>\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n        </div>\\n\\n        <div class=\"sixteen wide mobile sixteen wide tablet twelve wide computer column right\">\\n\\n\\n            <div  class=\" ui blue attached segment\">\\n\\n                <h1 class=\"ui header center aligned animated\">\\n                    <a href=\"/p/e6ef5e8b-3a88-4925-a3e9-029c22c05fd6\">\\xe7\\xac\\xac\\xe4\\xb8\\x80\\xe4\\xb8\\xaaPython\\xe7\\xa8\\x8b\\xe5\\xba\\x8f</a>\\n                </h1>\\n                <span class=\"\"><i class=\"user icon\"></i>\\n                    \\xe5\\xb8\\x83\\xe5\\x95\\xa6\\xe8\\xb1\\x86\\n                </span>\\n                <span class=\"\"><i class=\"eye icon\"></i>\\n                    12254\\n                </span>\\n\\n                <div  class=\"ui divider\"></div>\\n\\n                <p>\\xe6\\xaf\\x8f\\xe6\\xac\\xa1\\xe6\\x88\\x91\\xe9\\xab\\x98\\xe9\\xab\\x98\\xe5\\x85\\xb4\\xe5\\x85\\xb4\\xe7\\x9a\\x84\\xe8\\xb7\\x91\\xe5\\x8e\\xbb\\xe4\\xb8\\x8a\\xe7\\xbc\\x96\\xe7\\xa8\\x8b\\xe8\\xaf\\xad\\xe8\\xa8\\x80\\xe8\\xaf\\xbe\\xe7\\xa8\\x8b\\xef\\xbc\\x8c\\xe5\\xa5\\xbd\\xe7\\x9a\\x84\\xe5\\xbf\\x83\\xe6\\x83\\x85\\xe6\\x80\\xbb\\xe4\\xbc\\x9a\\xe5\\x9c\\xa8\\xe8\\x80\\x81\\xe5\\xb8\\x88\\xe8\\xae\\xb2\\xe7\\x9a\\x84\\xe6\\x95\\xb0\\xe6\\x8d\\xae\\xe7\\xb1\\xbb\\xe5\\x9e\\x8b\\xe4\\xb8\\xad\\xe5\\x8f\\x98\\xe5\\xbe\\x97\\xe6\\x97\\xa0\\xe6\\xaf\\x94\\xe7\\x84\\xa6\\xe7\\x81\\xbc~~</p>\\n<p>\\xe5\\x9f\\xba\\xe7\\xa1\\x80\\xe7\\x9a\\x84\\xe5\\x9c\\xb0\\xe5\\x9f\\xba\\xe6\\x80\\xbb\\xe6\\x98\\xaf\\xe8\\xa6\\x81\\xe6\\x89\\x93\\xe7\\x9a\\x84\\xef\\xbc\\x8c\\xe4\\xbd\\x86\\xe6\\x98\\xaf\\xe8\\xa6\\x81\\xe5\\x85\\x88\\xe6\\x9e\\x84\\xe6\\x83\\xb3\\xe6\\x88\\xbf\\xe5\\xad\\x90\\xe7\\x9a\\x84\\xe6\\xa0\\xb7\\xe5\\xbc\\x8f\\xef\\xbc\\x8c\\xe5\\x86\\x8d\\xe5\\x86\\xb3\\xe5\\xae\\x9a\\xe5\\x9c\\xb0\\xe5\\x9f\\xba\\xe6\\x80\\x8e\\xe4\\xb9\\x88\\xe6\\x89\\x93\\xe5\\x92\\xaf</p>\\n<p>\\xe6\\x83\\xb3\\xe6\\x83\\xb3\\xef\\xbc\\x8c\\xe6\\x88\\x91\\xe4\\xb8\\xba\\xe4\\xbb\\x80\\xe4\\xb9\\x88\\xe8\\xa6\\x81\\xe5\\xad\\xa6Python\\xe3\\x80\\x90\\xe5\\xa4\\xa7\\xe5\\xad\\xa6\\xe7\\xbc\\x96\\xe7\\xa8\\x8b\\xe5\\x9f\\xba\\xe7\\xa1\\x80\\xe6\\x98\\xaf\\xe8\\xb0\\xad\\xe6\\xb5\\xa9\\xe5\\xbc\\xba\\xe7\\x9a\\x84C\\xe8\\xaf\\xbe\\xe6\\x9c\\xac\\xef\\xbc\\x8c\\xe7\\xbc\\x96\\xe7\\xa0\\x81\\xe9\\x97\\xae\\xe9\\xa2\\x98\\xe5\\xb0\\xb1\\xe6\\x98\\xaf\\xe4\\xb8\\x80\\xe5\\xa0\\x86 \\xe7\\x83\\xab\\xe7\\x83\\xab\\xe7\\x83\\xab\\xe7\\x83\\xab\\xe7\\x83\\xab\\xe7\\x83\\xab\\xe7\\x83\\xab\\xe7\\x83\\xab\\xe7\\x83\\xab\\xe3\\x80\\x91\\xef\\xbc\\x8c\\xe5\\xb0\\xb1\\xe6\\x98\\xaf\\xe4\\xb8\\xba\\xe4\\xba\\x86\\xe5\\xa5\\xbd\\xe7\\x8e\\xa9\\xe5\\x95\\x8a\\xef\\xbc\\x8c\\xe5\\x85\\xb4\\xe8\\xb6\\xa3\\xe6\\x89\\x80\\xe5\\x9c\\xa8\\xef\\xbc\\x8c\\xe6\\x89\\x80\\xe4\\xbb\\xa5\\xe4\\xb8\\x80\\xe5\\xbc\\x80\\xe5\\xa7\\x8b\\xe5\\x91\\xa2\\xef\\xbc\\x8c\\xe5\\x85\\x88\\xe4\\xb8\\x8a\\xe4\\xb8\\x80\\xe4\\xb8\\xaa\\xe5\\xa4\\xa7\\xe5\\xad\\xa6\\xe5\\x86\\x99\\xe7\\x83\\x82\\xe4\\xba\\x86\\xe7\\x9a\\x84\\xe7\\x8c\\x9c\\xe6\\x95\\xb0\\xe5\\xad\\x97\\xe6\\xb8\\xb8\\xe6\\x88\\x8f\\xe3\\x80\\x90\\xe6\\xb3\\xa8\\xe9\\x87\\x8a\\xe7\\x89\\x88\\xef\\xbc\\x8c1-1.py\\xe3\\x80\\x91</p>\\n<pre><code>import random\\n#\\xe5\\xaf\\xbc\\xe5\\x85\\xa5\\xe7\\x94\\x9f\\xe6\\x88\\x90\\xe9\\x9a\\x8f\\xe6\\x9c\\xba\\xe7\\x9a\\x84\\xe5\\xba\\x93\\xe6\\x96\\x87\\xe4\\xbb\\xb6\\n\\nanswer = random.randint(0,10)\\n#random\\xe5\\xba\\x93\\xe4\\xb8\\xad\\xe6\\x9c\\x89\\xe4\\xb8\\xaarandint\\xe5\\x87\\xbd\\xe6\\x95\\xb0\\xef\\xbc\\x8c\\xe6\\x8e\\xa5\\xe6\\x94\\xb6\\xe4\\xb8\\xa4\\xe4\\xb8\\xaa\\xe5\\x80\\xbc\\xef\\xbc\\x8c\\xe4\\xbb\\x8e\\xe8\\xbf\\x99\\xe4\\xb8\\xa4\\xe4\\xb8\\xaa\\xe5\\x80\\xbc\\xe4\\xb8\\xad\\xe9\\x97\\xb4\\xe9\\x9a\\x8f\\xe6\\x9c\\xba\\xe8\\xbf\\x94\\xe5\\x9b\\x9e\\xe4\\xb8\\x80\\xe4\\xb8\\xaa\\xe5\\x80\\xbc\\xef\\xbc\\x8c\\xe8\\xb5\\x8b\\xe5\\x80\\xbc\\xe7\\xbb\\x99answer\\xef\\xbc\\x8c\\xe4\\xb8\\x80\\xe4\\xb8\\xaa\\xe7\\xad\\x89\\xe5\\x8f\\xb7\\xe6\\x98\\xaf\\xe8\\xb5\\x8b\\xe5\\x80\\xbc\\xef\\xbc\\x8c\\xe4\\xb8\\xa4\\xe4\\xb8\\xaa\\xe7\\xad\\x89\\xe5\\x8f\\xb7\\xe6\\x98\\xaf\\xe5\\xaf\\xb9\\xe6\\xaf\\x94\\n\\nguess = input(\\'guess number:\\')\\n#input\\xe6\\x98\\xaf\\xe8\\xbe\\x93\\xe5\\x85\\xa5\\xe7\\x9a\\x84\\xe6\\x84\\x8f\\xe6\\x80\\x9d\\xef\\xbc\\x8cinput\\xe5\\x87\\xbd\\xe6\\x95\\xb0\\xe4\\xb9\\x9f\\xe5\\xb0\\xb1\\xe6\\x98\\xaf\\xe8\\xbe\\x93\\xe5\\x85\\xa5\\xe7\\x9a\\x84\\xe5\\x87\\xbd\\xe6\\x95\\xb0\\xef\\xbc\\x8c\\xe7\\xa8\\x8b\\xe5\\xba\\x8f\\xe4\\xbc\\x9a\\xe5\\x81\\x9c\\xe5\\x9c\\xa8\\xe8\\xbf\\x99\\xe5\\xb9\\xb6\\xe6\\x89\\x93\\xe5\\x8d\\xb0\\xe2\\x80\\x9cguess number\\xef\\xbc\\x9a\\xe2\\x80\\x9d\\xef\\xbc\\x8c\\xe7\\xad\\x89\\xe5\\xbe\\x85\\xe7\\x94\\xa8\\xe6\\x88\\xb7\\xe8\\xbe\\x93\\xe5\\x85\\xa5\\xe5\\xae\\x8c\\xe6\\x88\\x90\\xe5\\xb9\\xb6\\xe7\\xbb\\xa7\\xe7\\xbb\\xad\\xe6\\x89\\xa7\\xe8\\xa1\\x8c\\xe7\\xa8\\x8b\\xe5\\xba\\x8f\\n\\nif guess == answer:#if\\xe6\\x98\\xaf\\xe5\\xa6\\x82\\xe6\\x9e\\x9c\\xef\\xbc\\x8c\\xe4\\xb8\\xa4\\xe4\\xb8\\xaa\\xe7\\xad\\x89\\xe5\\x8f\\xb7\\xe6\\x98\\xaf\\xe6\\xaf\\x94\\xe8\\xbe\\x83\\xef\\xbc\\x8c\\xe6\\x84\\x8f\\xe6\\x80\\x9d\\xe6\\x98\\xaf\\xe5\\xa6\\x82\\xe6\\x9e\\x9cguess\\xe5\\x92\\x8canswer\\xe7\\x9b\\xb8\\xe7\\xad\\x89\\n    print(\\'You do it!\\')\\n    #\\xe5\\xa6\\x82\\xe6\\x9e\\x9c\\xe7\\x9b\\xb8\\xe7\\xad\\x89\\xef\\xbc\\x8c\\xe5\\x88\\x99\\xe6\\x89\\xa7\\xe8\\xa1\\x8c\\xe8\\xbf\\x99\\xe8\\xa1\\x8c\\xe4\\xbb\\xa3\\xe7\\xa0\\x81\\xef\\xbc\\x8cprint\\xe6\\x98\\xaf\\xe8\\xbe\\x93\\xe5\\x87\\xba\\xe6\\x89\\x93\\xe5\\x8d\\xb0\\xe7\\x9a\\x84\\xe6\\x84\\x8f\\xe6\\x80\\x9d\\xef\\xbc\\x8c\\xe6\\x98\\xbe\\xe7\\xa4\\xba\\'You do it!\\'\\nelse:#\\xe5\\xa6\\x82\\xe6\\x9e\\x9c\\xe4\\xb8\\x8d\\xe7\\x9b\\xb8\\xe7\\xad\\x89\\xef\\xbc\\x8c\\xe5\\x89\\x8d\\xe9\\x9d\\xa2\\xe7\\x9a\\x84\\xe7\\xad\\x89\\xe4\\xba\\x8e\\xe6\\xaf\\x94\\xe8\\xbe\\x83\\xe4\\xb8\\x8d\\xe6\\x88\\x90\\xe7\\xab\\x8b\\xef\\xbc\\x8c\\xe5\\x88\\x99\\xe8\\xb7\\xb3\\xe5\\x88\\xb0\\xe8\\xbf\\x99\\xe9\\x87\\x8c\\xef\\xbc\\x8celse\\xe6\\x98\\xaf\\xe5\\x88\\xab\\xe7\\x9a\\x84\\xe6\\x84\\x8f\\xe6\\x80\\x9d\\n    print(\\'oh, so bad~\\')\\n    #\\xe5\\x88\\xa4\\xe6\\x96\\xad\\xe4\\xb8\\x8d\\xe6\\x88\\x90\\xe7\\xab\\x8b\\xef\\xbc\\x8c\\xe6\\x89\\x93\\xe5\\x8d\\xb0\\'oh, so bad~\\'\\n\\nprint(\\'Answer is \\', answer)\\n#\\xe6\\x9c\\x80\\xe5\\x90\\x8e\\xe6\\x89\\x93\\xe5\\x8d\\xb0\\xe4\\xb8\\x80\\xe4\\xb8\\x8b\\xe7\\xa8\\x8b\\xe5\\xba\\x8f\\xe7\\x9a\\x84\\xe7\\xad\\x94\\xe6\\xa1\\x88\\n</code></pre>\\n\\n<p><img alt=\"\\xe7\\x8c\\x9c\\xe6\\x95\\xb0\\xe5\\xad\\x97\\xe6\\x88\\xaa\\xe5\\x9b\\xbe.JPG\" src=\"http://upload-images.jianshu.io/upload_images/174489-f52f18ea996be590.JPG?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240\" /></p>\\n<p>\\xe4\\xb8\\x80\\xe4\\xb8\\xaa\\xe7\\xa8\\x8b\\xe5\\xba\\x8f\\xe5\\xb0\\xb1\\xe8\\xbf\\x99\\xe4\\xb9\\x88\\xe8\\xa2\\xab\\xe5\\x86\\x99\\xe5\\xae\\x8c\\xe4\\xba\\x86\\xef\\xbc\\x8c\\xe7\\x9c\\x8b\\xe6\\x87\\x82\\xe4\\xba\\x86\\xe5\\x90\\x97\\xef\\xbc\\x9fPython\\xe5\\x92\\x8cC\\xe5\\xaf\\xb9\\xe6\\xaf\\x94\\xef\\xbc\\x8c\\xe7\\xae\\x80\\xe7\\x9b\\xb4\\xe5\\xb0\\xb1\\xe6\\x98\\xaf\\xe7\\x99\\xbd\\xe8\\xaf\\x9d\\xe6\\x96\\x87\\xe5\\x92\\x8c\\xe7\\x94\\xb2\\xe9\\xaa\\xa8\\xe6\\x96\\x87\\xe7\\x9a\\x84\\xe5\\x8c\\xba\\xe5\\x88\\xab\\xe3\\x80\\x90\\xe6\\x89\\x93\\xe8\\x84\\xb8\\xe4\\xba\\x86\\xef\\xbc\\x8c\\xe8\\xbf\\x99\\xe9\\x87\\x8c\\xe6\\xb2\\xa1\\xe6\\x9c\\x89C\\xe8\\xaf\\xad\\xe8\\xa8\\x80\\xe7\\x9a\\x84\\xe5\\xaf\\xb9\\xe6\\xaf\\x94\\xe7\\x89\\x88\\xe6\\x9c\\xac\\xe3\\x80\\x91\\xe3\\x80\\x82\\xe4\\xb8\\x8d\\xe7\\x94\\xa8\\xe4\\xb8\\x8a\\xe6\\x89\\x8b\\xef\\xbc\\x8c\\xe7\\x9c\\x8b\\xe6\\x87\\x82\\xe5\\xb0\\xb1\\xe5\\x8f\\xaf\\xe4\\xbb\\xa5\\xe4\\xba\\x86\\xef\\xbc\\x8c\\xe8\\xbf\\x99\\xe9\\x87\\x8c\\xe5\\x8f\\xaa\\xe6\\x98\\xaf\\xe4\\xb8\\xaa\\xe5\\xbc\\x80\\xe5\\xa7\\x8b\\xef\\xbc\\x8c\\xe4\\xb8\\x8d\\xe5\\x81\\x9a\\xe5\\x88\\xab\\xe7\\x9a\\x84\\xe8\\xae\\xb2\\xe8\\xa7\\xa3\\xef\\xbc\\x8c\\xe5\\x8f\\xa6\\xe5\\xa4\\x96\\xe8\\xa1\\xa5\\xe4\\xb8\\x8a\\xe4\\xb8\\x80\\xe4\\xb8\\x8b\\xe8\\xbf\\x99\\xe8\\x8a\\x82\\xe7\\x9a\\x84\\xe7\\x9f\\xa5\\xe8\\xaf\\x86\\xe7\\x82\\xb9</p>\\n<table>\\n<thead>\\n<tr>\\n<th align=\"center\">\\xe5\\x87\\xbd\\xe6\\x95\\xb0/\\xe5\\x85\\xb3\\xe9\\x94\\xae\\xe5\\xad\\x97</th>\\n<th align=\"center\">\\xe8\\xaf\\xb4\\xe6\\x98\\x8e</th>\\n</tr>\\n</thead>\\n<tbody>\\n<tr>\\n<td align=\"center\">import</td>\\n<td align=\"center\">Python\\xe5\\x85\\xb3\\xe9\\x94\\xae\\xe5\\xad\\x97\\xef\\xbc\\x8c\\xe7\\x94\\xa8\\xe4\\xba\\x8e\\xe5\\xaf\\xbc\\xe5\\x85\\xa5Python\\xe5\\xba\\x93\\xe6\\x96\\x87\\xe4\\xbb\\xb6</td>\\n</tr>\\n<tr>\\n<td align=\"center\">print</td>\\n<td align=\"center\">\\xe7\\x94\\xa8\\xe4\\xba\\x8e\\xe8\\xbe\\x93\\xe5\\x85\\xa5/\\xe6\\x89\\x93\\xe5\\x8d\\xb0de \\xe5\\x87\\xbd\\xe6\\x95\\xb0\\xef\\xbc\\x8cprint\\xe5\\x90\\x8e\\xe9\\x9d\\xa2\\xe7\\xa9\\xba\\xe4\\xb8\\x80\\xe6\\xa0\\xbc\\xe5\\x86\\x8d\\xe5\\x86\\x99\\xe5\\x8f\\x98\\xe9\\x87\\x8f\\xe4\\xbb\\xac\\xef\\xbc\\x8c\\xe5\\x8f\\x98\\xe9\\x87\\x8f\\xe9\\x97\\xb4\\xe7\\x94\\xa8\\xe9\\x80\\x97\\xe5\\x8f\\xb7</td>\\n</tr>\\n<tr>\\n<td align=\"center\">input()</td>\\n<td align=\"center\">Python\\xe7\\x9a\\x84\\xe8\\xbe\\x93\\xe5\\x85\\xa5\\xe5\\x87\\xbd\\xe6\\x95\\xb0\\xef\\xbc\\x8c\\xe7\\xa8\\x8b\\xe5\\xba\\x8f\\xe8\\xbf\\x90\\xe8\\xa1\\x8c\\xe5\\x88\\xb0\\xe6\\xad\\xa4\\xe4\\xbc\\x9a\\xe5\\x81\\x9c\\xe4\\xb8\\x8b\\xe7\\xad\\x89\\xe5\\xbe\\x85\\xe7\\x94\\xa8\\xe6\\x88\\xb7\\xe8\\xbe\\x93\\xe5\\x85\\xa5\\xef\\xbc\\x8c\\xe6\\x8b\\xac\\xe5\\x8f\\xb7\\xe5\\x86\\x85\\xe5\\x8f\\xaf\\xe4\\xbb\\xa5\\xe5\\xa1\\xab\\xe7\\x94\\xa8\\xe5\\x8d\\x95\\xe5\\xbc\\x95\\xe5\\x8f\\xb7\\xe6\\x88\\x96\\xe8\\x80\\x85\\xe5\\x8f\\x8c\\xe5\\xbc\\x95\\xe5\\x8f\\xb7\\xe3\\x80\\x81\\xe4\\xb8\\x89\\xe5\\xbc\\x95\\xe5\\x8f\\xb7\\xe7\\x9a\\x84\\xe5\\xad\\x97\\xe7\\xac\\xa6\\xe4\\xb8\\xb2</td>\\n</tr>\\n<tr>\\n<td align=\"center\">random</td>\\n<td align=\"center\">Python\\xe7\\x9a\\x84\\xe5\\xba\\x93\\xef\\xbc\\x8c\\xe5\\xb0\\xb1\\xe5\\x83\\x8f\\xe6\\x93\\x8e\\xe5\\xa4\\xa9\\xe6\\x9f\\xb1\\xe7\\x9a\\x84\\xe8\\xbd\\xa6\\xe5\\x8e\\xa2\\xef\\xbc\\x8cPython\\xe6\\x9c\\x89\\xe5\\xbe\\x88\\xe5\\xa4\\x9a\\xe7\\xac\\xac\\xe4\\xb8\\x89\\xe6\\x96\\xb9\\xe5\\xba\\x93\\xef\\xbc\\x8c\\xe8\\x87\\xaa\\xe5\\xb7\\xb1\\xe4\\xb9\\x9f\\xe5\\x8f\\xaf\\xe4\\xbb\\xa5\\xe5\\x86\\x99</td>\\n</tr>\\n<tr>\\n<td align=\"center\">random.randint()</td>\\n<td align=\"center\">random\\xe5\\xba\\x93\\xe9\\x87\\x8c\\xe9\\x9d\\xa2\\xe6\\x9c\\x89\\xe4\\xb8\\xaarandint()\\xe5\\x87\\xbd\\xe6\\x95\\xb0\\xef\\xbc\\x8c\\xe6\\x94\\xbe\\xe5\\x85\\xa5\\xe4\\xb8\\xa4\\xe4\\xb8\\xaa\\xe5\\x80\\xbc\\xef\\xbc\\x8c\\xe9\\x9a\\x8f\\xe6\\x9c\\xba\\xe4\\xbb\\x8e\\xe8\\xbf\\x99\\xe4\\xb8\\xa4\\xe4\\xb8\\xaa\\xe5\\x80\\xbc\\xe4\\xb9\\x8b\\xe9\\x97\\xb4\\xe5\\x8f\\x96\\xe4\\xb8\\x80\\xe4\\xb8\\xaa\\xe6\\x95\\xb4\\xe6\\x95\\xb0\\xe5\\x80\\xbc\\xef\\xbc\\x8c\\xe8\\xbf\\x94\\xe5\\x9b\\x9e\\xe5\\x9b\\x9e\\xe5\\x8e\\xbb</td>\\n</tr>\\n</tbody>\\n</table>\\n<p>\\xe5\\x8f\\xa6\\xe5\\xa4\\x96\\xef\\xbc\\x8c\\xe8\\xa1\\xa5\\xe5\\x85\\x85\\xe4\\xb8\\x80\\xe4\\xba\\x9bPython\\xe7\\x9a\\x84\\xe7\\x9f\\xa5\\xe8\\xaf\\x86\\xe7\\x82\\xb9\\xef\\xbc\\x9a</p>\\n<ul>\\n<li>Python\\xe5\\xa3\\xb0\\xe6\\x98\\x8e\\xe4\\xb8\\x80\\xe4\\xb8\\xaa\\xe5\\x8f\\x98\\xe9\\x87\\x8f\\xef\\xbc\\x8c\\xe4\\xb8\\x8d\\xe7\\x94\\xa8\\xe4\\xbb\\xbb\\xe4\\xbd\\x95\\xe7\\xb1\\xbb\\xe5\\x9e\\x8b\\xef\\xbc\\x8c\\xe7\\x9b\\xb4\\xe6\\x8e\\xa5\\xe5\\x9c\\xa8\\xe7\\xa8\\x8b\\xe5\\xba\\x8f\\xe4\\xb8\\xad\\xe5\\x86\\x99\\xe4\\xb8\\x80\\xe4\\xb8\\xaa\\xe5\\x90\\x8d\\xef\\xbc\\x8c\\xe4\\xbe\\x8b\\xe5\\xa6\\x82 guess\\xef\\xbc\\x8c\\xe7\\x84\\xb6\\xe5\\x90\\x8e\\xe7\\xbb\\x99guess\\xe8\\xb5\\x8b\\xe5\\x80\\xbc\\xe4\\xb8\\x80\\xe4\\xb8\\xaa\\xe6\\x95\\xb0\\xef\\xbc\\x8c\\xe5\\xb0\\xb1\\xe6\\x98\\xaf guess = 1</li>\\n<li>\\xe5\\x87\\xbd\\xe6\\x95\\xb0\\xe8\\xb0\\x83\\xe7\\x94\\xa8\\xef\\xbc\\x8c\\xe6\\x8b\\xbfrandom\\xe5\\xba\\x93\\xe4\\xb8\\xbe\\xe4\\xbe\\x8b\\xef\\xbc\\x8crandom.randint(0,10)\\xe5\\xb0\\xb1\\xe6\\x98\\xaf\\xe8\\xb0\\x83\\xe7\\x94\\xa8randint\\xe5\\x87\\xbd\\xe6\\x95\\xb0</li>\\n<li>answer = random.randint(0,10)\\xe4\\xbb\\xa3\\xe7\\xa0\\x81\\xef\\xbc\\x8c\\xe5\\xb0\\xb1\\xe6\\x98\\xaf\\xe8\\xb0\\x83\\xe7\\x94\\xa8randint\\xe5\\x87\\xbd\\xe6\\x95\\xb0\\xef\\xbc\\x8c\\xe5\\xb9\\xb6\\xe5\\xb0\\x86\\xe5\\x87\\xbd\\xe6\\x95\\xb0\\xe7\\x9a\\x84\\xe8\\xbf\\x94\\xe5\\x9b\\x9e\\xe5\\x80\\xbc\\xe8\\xb5\\x8b\\xe5\\x80\\xbc\\xe7\\xbb\\x99answer \\xef\\xbc\\x8c\\xe4\\xbb\\xa3\\xe7\\xa0\\x81\\xe4\\xb8\\x8b\\xe6\\x96\\x87\\xe5\\xb0\\xb1\\xe5\\x8f\\xaf\\xe4\\xbb\\xa5\\xe7\\x94\\xa8answer\\xe6\\x8b\\xbf\\xe5\\x88\\xb0randint\\xe7\\x9a\\x84\\xe9\\x9a\\x8f\\xe6\\x9c\\xba\\xe5\\x80\\xbc\\xef\\xbc\\x8canswer\\xe5\\x9c\\xa8\\xe8\\xbf\\x99\\xe9\\x87\\x8c\\xe8\\xb5\\xb7\\xe5\\x88\\xb0\\xe4\\xbf\\x9d\\xe5\\xad\\x98\\xe7\\x9a\\x84\\xe4\\xbd\\x9c\\xe7\\x94\\xa8</li>\\n<li>\\xe8\\xb5\\x8b\\xe5\\x80\\xbc\\xe6\\x98\\xaf\\xe4\\xb8\\x80\\xe4\\xb8\\xaa\\xe7\\xad\\x89\\xe4\\xba\\x8e\\xe5\\x8f\\xb7\\xef\\xbc\\x8cguess = 1\\xe5\\xb0\\xb1\\xe6\\x98\\xaf\\xe5\\xb0\\x861\\xe5\\xad\\x98\\xe5\\x88\\xb0guess\\xe4\\xb8\\xad\\xef\\xbc\\x9bguess==1\\xe5\\x88\\x99\\xe6\\x98\\xaf\\xe6\\xaf\\x94\\xe8\\xbe\\x83guess\\xe5\\x92\\x8c1\\xe6\\x98\\xaf\\xe5\\x90\\xa6\\xe7\\x9b\\xb8\\xe7\\xad\\x89</li>\\n</ul>\\n<p>\\xe4\\xbb\\xa5\\xe4\\xb8\\x8a\\xef\\xbc\\x8c\\xe7\\x9c\\x8b\\xe6\\x87\\x82\\xe5\\x8d\\xb3\\xe5\\x8f\\xaf\\xef\\xbc\\x8c\\xe8\\xae\\xb0\\xe4\\xbd\\x8f\\xe6\\x9b\\xb4\\xe5\\xa5\\xbd\\xe5\\x92\\xaf~\\xe4\\xbb\\xa5\\xe5\\x90\\x8e\\xe8\\xbf\\x99\\xe4\\xba\\x9b\\xe7\\x94\\xa8\\xe7\\x9a\\x84\\xe5\\xa4\\x9a\\xef\\xbc\\x8c\\xe4\\xb8\\x8d\\xe7\\x94\\xa8\\xe5\\xad\\xa6\\xe9\\x83\\xbd\\xe8\\x83\\xbd\\xe4\\xbc\\x9a\\xe7\\x94\\xa8</p>\\n\\n\\n\\n            </div>\\n            \\n            <div class=\"ui teal bottom attached  message\">\\n                <p>\\xe7\\x89\\x88\\xe6\\x9d\\x83\\xe5\\xa3\\xb0\\xe6\\x98\\x8e\\xef\\xbc\\x9a\\xe5\\x85\\x81\\xe8\\xae\\xb8\\xe8\\xbd\\xac\\xe8\\xbd\\xbd\\xef\\xbc\\x8c\\xe8\\xbd\\xac\\xe8\\xbd\\xbd\\xe8\\xaf\\xb7\\xe6\\xb3\\xa8\\xe6\\x98\\x8e\\xe5\\x87\\xba\\xe5\\xa4\\x84 \\xe2\\x80\\x94\\xe2\\x80\\x94 <a href=\"/p/e6ef5e8b-3a88-4925-a3e9-029c22c05fd6\">\\xe3\\x80\\x8aPython3\\xe6\\x95\\x99\\xe7\\xa8\\x8b\\xe3\\x80\\x8b\\xef\\xbc\\x9a \\xe7\\xac\\xac\\xe4\\xb8\\x80\\xe4\\xb8\\xaaPython\\xe7\\xa8\\x8b\\xe5\\xba\\x8f </a></p>\\n            </div>\\n            \\n\\n        </div>\\n    </div>\\n</div>\\n\\n\\n            </div>\\n\\n            \\n            <div class=\"ui inverted teal segment noradius\">\\n                <div class=\"ui container\">\\n\\n                   Copyright @2016-2017 | \\xe8\\xb5\\xa3ICP\\xe5\\xa4\\x8716003025\\xe5\\x8f\\xb7 <script type=\"text/javascript\">var cnzz_protocol = ((\"https:\" == document.location.protocol) ? \" https://\" : \" http://\");document.write(unescape(\"%3Cspan id=\\'cnzz_stat_icon_1260149661\\'%3E%3C/span%3E%3Cscript src=\\'\" + cnzz_protocol + \"s11.cnzz.com/z_stat.php%3Fid%3D1260149661\\' type=\\'text/javascript\\'%3E%3C/script%3E\"));</script>\\n\\n\\n                </div>\\n            </div>\\n\\n            \\n            \\n            <script>\\n                $(document).ready(function(){\\n                    $(\".content table\").addClass(\"ui celled striped table\");\\n\\n                    $(\"#sidebar\").click(function(){\\n                      $(\\'.ui.sidebar\\').sidebar(\\'toggle\\');\\n                    });\\n\\n                });\\n            </script>\\n            \\n\\n    </div>\\n\\t</body>\\n\\n</html>'"
      ]
     },
     "execution_count": 9,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "response.content"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 10,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "[]"
      ]
     },
     "execution_count": 10,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "response.history"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 11,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "{'Content-Length': '19853', 'Connection': 'keep-alive', 'Content-Type': 'text/html; charset=utf-8', 'Date': 'Tue, 04 Aug 2020 07:15:01 GMT', 'Keep-Alive': 'timeout=4', 'Proxy-Connection': 'keep-alive', 'Server': 'nginx/1.14.1', 'X-Frame-Options': 'SAMEORIGIN'}"
      ]
     },
     "execution_count": 11,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "response.headers"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 12,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "<PreparedRequest [GET]>"
      ]
     },
     "execution_count": 12,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "response.request"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {},
   "outputs": [],
   "source": []
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.7.4"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 2
}
